<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>装饰文本</title>
    <style>
        div {
            text-decoration: underline;
        }
        h4 {
            text-decoration: line-through;
        }
        p {
            text-decoration: overline;
        }
        a {
            text-decoration: none;
            color: #333;
        }

    </style>
</head>
<body>
    <div>这个是下划线</div>
    <h4>这个是删除线</h4>
    <p>这个是上划线，使用的比较少</p>
    <a href="#">取消默认的下划线</a>
</body>
</html>